package com.jshan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jshan.base.entity.SysDept;

import java.util.List;

public interface SysDeptService extends IService<SysDept> {
    List<SysDept> listAll();

    IPage<SysDept> getDeptPage(IPage<SysDept> page, String depName);

    List<SysDept> listWithTree();
}
